package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.domain.PurchaseChannel;

import java.util.List;

/**
 * 进货渠道服务
 */
public interface PurchaseChannelService {
    /**
     * 新增进货渠道
     * @param purchaseChannel
     * @return
     */
    boolean addPurchaseChannel(PurchaseChannel purchaseChannel);

    /**
     * 删除进货渠道
     * @param purchaseChannelId
     * @return
     */
    boolean deletePurchaseChannelById(Integer purchaseChannelId);

    /**
     * 更新进货渠道
     * @param purchaseChannel
     * @return
     */
    boolean updatePurchaseChannel(PurchaseChannel purchaseChannel);

    /**
     * 获取所有进货渠道
     * @return
     */
    List<PurchaseChannel> getAllPurchaseChannel();
}
